package com.ljm.ljm_crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;


import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("department")
public class Department extends BaseEntity {

    @TableId(type = IdType.AUTO)
    private Integer deptId;
    private String deptName;

    @Override
    public String toString() {
        return "Department{" +
                "deptId=" + deptId +
                ", deptName='" + deptName + '\'' +
                ", createTime='" + super.getCreateTime()+ '\'' +
                ", updateTime='" + super.getUpdateTime() + '\'' +
                ", isDel='" + super.getIsDel() + '\'' +
                '}';
    }


}
